package com.haoyeteng.sxbd.modular.business.dao;

import com.haoyeteng.sxbd.modular.business.model.Order;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-05-28
 */
public interface OrderMapper extends BaseMapper<Order> {

	/**
	 * 订单分页查询
	 * @param page 分页
	 * @param params 参数
	 * @return List<map>
	 */
	List<Map<String, Object>> selectOrders(Page<Order> page, Map<String,Object> params);
	/**
	 * 订单查询
	 * @param params 参数
	 * @return List<map>
	 */
	List<Map<String, Object>> selectOrdersList(Map<String,Object> params);

	/**
	 * 订单服务统计折线图
	 */
	List<Map<String, Object>> selectOrderForCurveByDay();
	/**
	 * 订单服务统计折线图
	 */
	List<Map<String, Object>> selectOrderForCurveByMonth();
	/**
	 * 订单服务统计折线图
	 */
	List<Map<String, Object>> selectOrderForCurveByYear();
}
